createFill

abstract fun createFill(fillType: FillType): DesignBlock

Create a new fill, fails if type is unknown.

Return

the created fill's handle.

Parameters

fillType

the type of the fill object that shall be created.


abstract fun createFill(fillType: String): DesignBlock

Deprecated

Use type safe overload instead.

Replace with

this.createFill(FillType.)

Create a new fill, fails if type is unknown.

Return

the created fill's handle.

Parameters

fillType

the type of the fill object that shall be created.